Passed
Push — development ( e131c7...d0a4d7 )
by Peter
05:27 queued 13s
created

AppController.getHello   A

Complexity

Conditions 1

Size

Total Lines 5
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 5
dl 0
loc 5
rs 10
c 0
b 0
f 0
1
import { Controller, Get } from '@nestjs/common';
2
import { AppService } from './app.service';
3
4
@Controller()
5
export class AppController {
6
  constructor(private readonly appService: AppService) {}
7
8
  @Get()
9
  getHello(): string {
10
    // return this.appService.getHello();
11
    return 'Hello World!';
12
  }
13
}
14